home *** CD-ROM | disk | FTP | other *** search
/ The Best of MacTutor - S…e Code for Volumes 1 to 5 / The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin / Source Code / #51 (Dec 89) / LISP sources / listing 05 < prev    next >
Text File  |  1988-10-23  |  443b  |  21 lines

  1. Welcome to Allegro CL Version 1.2!
  2. HANOI
  3. MOVEDISK
  4. TOWEROFHANOI
  5. NIL
  6. EXIST
  7. > Error: Cannot object-bind global function HANOI
  8. > While executing: FHAVE
  9. > Type Command-/ to continue, Command-. to abort.
  10. 1 > Continuing...
  11. ? (setf toh (oneOf towerOfHanoi))
  12. #<Object #248, a TOWEROFHANOI>
  13. ? (ask toh (Hanoi))
  14. > Error: TOH is not a valid argument to NIL .
  15. > While executing: HANOI
  16. > Type Command-/ to continue, Command-. to abort.
  17. 1 > 
  18. Aborted